﻿using System;
using Autodesk.Revit.DB;

namespace HYRevitCode.FaceCalculateUtility
{
	public class SolidPacker : BasePacker
	{
		public Solid ThisSolid
		{
			get
			{
				return this.m_thisSolid;
			}
			set
			{
				this.m_thisSolid = value;
			}
		}

		public object ThisTarget
		{
			get
			{
				return this.m_thisTarget;
			}
			set
			{
				this.m_thisTarget = value;
			}
		}

		internal SolidPacker(Solid input, object inputTarget)
		{
			this.ThisSolid = input;
			this.ThisTarget = inputTarget;
			foreach (PlanarFace inputFace in BasePacker.GetSolidPlanarFace(input))
			{
				base.ThisLstFace.Add(new PlanarFacePacker(inputFace, this));
			}
		}

		private Solid m_thisSolid;

		private object m_thisTarget;
	}
}
